package com.weetop.cfw.bean;

import java.util.List;

public class MessageListBean extends ErrorBean {


    /**
     * records : 3
     * data : [{"infoid":2,"title":"活动通知","mtype":2,"remark":"会员服务续期优惠8折，限时抢购。","msgdate":"2020/4/12 12:31:00"},{"infoid":3,"title":"系统通知","mtype":3,"remark":"您的密码已过期，请及时重置。","msgdate":"2020/4/11 12:31:00"},{"infoid":1,"title":"到期提醒","mtype":1,"remark":"您的会员即将到期，请及时处理。","msgdate":"2020/4/11 12:31:00"}]
     */

    private int records;
    private List<DataBean> data;

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "MessageListBean{" +
                "records=" + records +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * infoid : 2
         * title : 活动通知
         * mtype : 2
         * remark : 会员服务续期优惠8折，限时抢购。
         * msgdate : 2020/4/12 12:31:00
         */

        private int infoid;
        private String title;
        private int mtype;
        private String remark;
        private String msgdate;

        public int getInfoid() {
            return infoid;
        }

        public void setInfoid(int infoid) {
            this.infoid = infoid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getMtype() {
            return mtype;
        }

        public void setMtype(int mtype) {
            this.mtype = mtype;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getMsgdate() {
            return msgdate;
        }

        public void setMsgdate(String msgdate) {
            this.msgdate = msgdate;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "infoid=" + infoid +
                    ", title='" + title + '\'' +
                    ", mtype=" + mtype +
                    ", remark='" + remark + '\'' +
                    ", msgdate='" + msgdate + '\'' +
                    '}';
        }
    }
}
